﻿CREATE TABLE [dbo].[TimeSheet] (
    [Id_TimeSheet]      INT           IDENTITY (1, 1) NOT NULL,
    [Id_User]           INT           NOT NULL,
    [Id_TroubleTicket]  INT           NULL,
    [Id_ServiceRequest] INT           NULL,
    [StartDate]         SMALLDATETIME NOT NULL,
    [FinalDate]         SMALLDATETIME NULL,
    PRIMARY KEY CLUSTERED ([Id_TimeSheet] ASC) WITH (ALLOW_PAGE_LOCKS = ON, ALLOW_ROW_LOCKS = ON, PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF, STATISTICS_NORECOMPUTE = OFF)
);

